package com.stu.spring.sim.circular;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BService implements IBService{

    @Autowired
    private IAService aService;

    @Override
    public void sayB() {
        System.out.println("hi i'm b, my a is " + aService.getClass());
    }
}
